import React from 'react';
import {render} from 'react-dom';
import App from './containers/App';
import reducer from "./reducers"
import { createStore, applyMiddleware } from 'redux'
import { Provider } from 'react-redux'
import promiseMiddleware from 'redux-promise'
const store=createStore(
        reducer,
        applyMiddleware(promiseMiddleware)
    )

 
render(
    <Provider store={store}>
        <App />
    </Provider>,
  document.getElementById('root')
);
